public class OddNumbers
{
	public void oddlogic(int[] inputarray,int size)
	{  
		int c,d=0;
		int[] nArray=new int[1];
		System.out.println("\n The odd numbers in the given array:");
		for(int count=0;count<=size-1;count++)
		{
			if(inputarray[count]%2!=0)
			{
			c=inputarray[count];
			System.out.print(" "+c);
		
			}
		}
	
	}
}